export default defineAppConfig({
  pages: [
    "pages/index/index",
    "pages/discover/index",
    "pages/house/index",
    "pages/user_center/index",
    "pages/index/campaign_info/list",
    "pages/index/campaign_info/detail",
    "pages/discover/article/create",
    "pages/discover/article/detail"
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
  },
  tabBar: {
    list: [
      {
        pagePath: "pages/index/index",
        iconPath: "images/nav_bar/index.png",
        selectedIconPath: "images/nav_bar/index_active.png",
        text: "首页",
      },
      {
        pagePath: "pages/house/index",
        iconPath: "images/nav_bar/house.png",
        selectedIconPath: "images/nav_bar/house_active.png",
        text: "农房",
      },
      {
        pagePath: "pages/discover/index",
        iconPath: "images/nav_bar/discover.png",
        selectedIconPath: "images/nav_bar/discover_active.png",
        text: "发现",
      },
      {
        pagePath: "pages/user_center/index",
        iconPath: "images/nav_bar/users.png",
        selectedIconPath: "images/nav_bar/users_active.png",
        text: "用户中心",
      },
    ],
  },
});
